int func();

int main() 
{
    int (*function_ptr)(void) = func; 
    int result = function_ptr(); 

    return result; 
}
int func() 
{
    return 42; 
}